package ee.subjects.backend.model.dao;

import java.util.List;

import ee.subjects.backend.model.data.Person;

public interface PersonDAO 
{
	public int insertPerson(Person person);
	public boolean deletePersonById(int personId);
	public Person findPersonById(int personId);
	public boolean updatePerson(Person updatedPersonObject);
	
	public List<Person> getAllPersons();
	public List<Person> findPersonsByFullName(String fullName);
	public List<Person> findPersonsByFirstName(String firstName);
	public List<Person> findPersonsByFamilyName(String familyName);
	public List<Person> findPersonsByIdentity_code(String identityCode);
	
}
